package com.zhb.designmode.creationmode.builder.classical;

public class iPhoneBuilder implements PhoneBuilder {

    private Phone phone;

    public iPhoneBuilder(){
        phone = new Phone("A12","京东方");
    }

    public void setCamera() {
        phone.setCamera(3);
    }

    public void setBattery() {
        phone.setBattery("苹果手机电池");
    }

    public Phone getPhone() {
        return phone;
    }
}
